package cn.klaw.flowable.model.message;

import cn.klaw.flowable.entity.RecordEntity;
import cn.klaw.flowable.entity.TaskEntity;
import cn.klaw.flowable.model.templatenode.nodejson.TemplateJsonModel;
import cn.klaw.permission.entity.UserEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

/**
 * 类的描述
 *
 *
 * @version 5.0.x
 * @since 2024/4/23 9:41
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class FlowEventModel {
    //数据
    private String dataJson;
    //表单数据
    private Map<String, Object> data;
    //系统匹配
    private TemplateJsonModel templateJson;
    //操作对象
    private RecordEntity record;
    // 任务
    private TaskEntity taskEntity;

    private UserEntity createUser;
    private UserEntity delegate;

    private List<String> toUsers;

}
